/*
 * Main.cpp
 *
 *  Created on: 28/05/2014
 *      Author: lucio
 */
#include "MainWindow.h"
#include "Background.h"
#include <gtkmm/application.h>

int main (int argc, char* argv[]){
	Glib::RefPtr<Gtk::Application> app =
			Gtk::Application::create(argc, argv, "org.gtkmm.examples.base");
	Glib::RefPtr<Gtk::Builder> XmlInterface =
			Gtk::Builder::create_from_file("MainWindow.glade","MainWindow");

	Background background;
	MainWindow* mWindow = 0;
	XmlInterface->get_widget_derived("MainWindow",mWindow);
	mWindow->add(background);
	background.show();

	return app->run(*mWindow);
}

